home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
s-gikan2.maizuru-ct.ac.jp
/
s-gikan2.maizuru-ct.ac.jp.zip
/
s-gikan2.maizuru-ct.ac.jp
/
pub
/
ncvc352_install.exe
/
{app}
/
scripts
/
transpose_macro_set
/
remove_debug_comment.pl
< prev
next >
Wrap
Perl Script
|
2004-05-27
|
251b
|
12 lines
#! /usr/bin/perl
# (^^ üA(---é┼Äné▄éΘìsé≡ìφÅ£é╖éΘâXâNâèâvâg #
($pre_file,$out_file)= ($ARGV[0],$ARGV[1]);
open(IN,$pre_file);
open(OUT,">$out_file");
while(<IN>){
if(!/^\(\-\-\-/ and !/^\(\^\^\s/){ print OUT; }
}
close(OUT);
close(IN);